package architect.design.patterns.behavior.chainofresponsibility;

/**
 * 请求对象
 *
 * @author guanxin
 * @date 2018/5/6 13:10
 */

public class Leave {

    private int leaveId;
    private int numberOfDays;

    public Leave(int leaveId, int numberOfDays) {
        this.leaveId = leaveId;
        this.numberOfDays = numberOfDays;
    }

    // region getter/setter
    public int getLeaveId() {
        return leaveId;
    }

    public void setLeaveId(int leaveId) {
        this.leaveId = leaveId;
    }

    public int getNumberOfDays() {
        return numberOfDays;
    }

    public void setNumberOfDays(int numberOfDays) {
        this.numberOfDays = numberOfDays;
    }
    // endregion
}
